﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IApplicationContext.cs" company="">
//   
// </copyright>
// <summary>
//   i application context.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Witcraft.Halcyone.Core.Silverlight
{
    using System;
    using System.Security.Principal;

    /// <summary>
    /// i application context.
    /// </summary>
    public interface IApplicationContext
    {
        /// <summary>
        /// Gets User.
        /// </summary>
        IPrincipal User { get;  }

        /// <summary>
        /// Gets Error.
        /// </summary>
        Exception Error { get; set; }
    }
}